package com.mtsmda.test;

import java.util.ArrayList;
import java.util.List;

public class ColleactionClasses {

	public static void main(String[] args) {
		c1();
		System.out.println("-----");
	}

	private static void c1() {
		List<Integer> list = new ArrayList<Integer>();
		list.add(1);
		list.add(0);
		Integer[] array = null;//java.lang.NullPointerException
		list.toArray(array);
		System.out.println(list.get(1));
	}
}